projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a9a5f5
)
* lisp/subr.el (with-silent-modifications): Minor simplification
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 7 Jun 2024 14:57:11 +0000
(10:57 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 7 Jun 2024 14:57:11 +0000
(10:57 -0400)
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 57c6f8a528fc860e05fc7c32b0286db5424e6990..e2e211369c94ee7e49656c25665a80b260e9fb90 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-5082,8
+5082,7
@@
of that nature."
(unwind-protect
(progn
,@body)
- (when (or (not ,modified)
- (eq ,modified 'autosaved))
+ (when (memq ,modified '(nil autosaved))
(restore-buffer-modified-p ,modified))))))
(defmacro with-output-to-string (&rest body)